package com.sihan.swvp.dao.jc;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.sihan.swvp.dao.BaseDao;
import com.sihan.swvp.entity.jc.JcBdz;

public interface JcBdzDao extends BaseDao{

	public List<Map<String, Object>> getJcBdz(Map<String, Object> params);
	public List<Map<String, Object>> getJcBdzAll(Map<String, Object> params);
	public void addJcBdz(JcBdz bean);
	public void updateJcBdz(JcBdz bean);
	public int deleteJcBdz(@Param("id")Integer id);
	
	/**
	 * 验证编码和名称
	 * @param code
	 * @param dsdwName
	 * @return
	 */
	public Integer getJcBdzValidate(@Param("bdzCode")String bdzCode,@Param("bdzName")String bdzName,@Param("id")Integer id,@Param("jcDsdwId")Integer jcDsdwId);
}
